{extend name='public/layout' /}
{block name='content'}
<div class="main">
    <div class="position">
        <p>
            您当前的位置：<a href="{:url('Index/index')}">{$site.title}</a> > <a href="{:url('Huodong/index')}">活动</a>
        </p>
    </div>
    <div class="screen">
        <div class="screen_box">
            <div class="screen_box01 overflow_h">
                <ul>
                    <li><a href="{:url('Huodong/index')}" {empty name='$cate_id'}class="on"{/empty}>全部活动</a></li>
                    {volist name='cate' id='vo'}
                    <li><a title="{$vo.name}" href="{:url('Huodong/index',['cate_id'=>$vo['id']])}" {if condition='$cate_id eq $vo.id'}class="on"{/if}>{$vo.name}</a></li>
                    {/volist}
                </ul>
            </div>
        </div>
    </div>
    <div class="overflow_h">
            <div class="house_box ">
                <div class="newsPicText">
                    <div class="newsBox">
                        {volist name='lists' id='vo' empty='暂无数据'}
                        <dl {if condition='$i eq 4'}style="margin-right:0" {/if} >
                        <dt><a href="{:url('Huodong/detail',['id'=>$vo['id']])}" title="{$vo.title}" target="_blank" >
                            <img src="__IMG__/nopic.jpg" data-original="{$vo.img}" class="lazy"><span>{$vo.title}</span><em><ins class="icon-36"></ins>活动时间:{$vo.begin_time|date='Y-m-d',###}至{$vo.end_time|date='Y-m-d',###}</em></a></dt>
                        <dd>{:msubstr($vo.description,0,60)}</dd>
                        </dl>
                        {/volist}
                    </div>
                </div>
                <div class="plastic_bottom_pages">
                    {$pages}
                </div>
            </div>
        </div>

</div>
{/block}